@import "../variables.css";

.show {
  display: block;
}

.btnGroup {
  position: relative;
  display: inline-block;
  vertical-align: middle;
}

.dropdown {
  display: inline-block;

  &.relative {
    position: relative;
  }
}

button + .dropdown,
.dropdown + .dropdown {
  padding: 0 0.25rem;
}

.DropdownMenuTether {
  z-index: 1000;
  display: none;
  float: left;
  min-width: 90vw;
  font-size: var(--font-size-medium);
  text-align: left;
  list-style: none;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  pointer-events: all;

  &.hasPadding {
    padding: var(--gutter-static);
  }

  & ul {
    list-style: none;
    padding: 0;
  }
}

@media (--medium-up) {
  .DropdownMenuTether {
    min-width: 40vw;
  }
}

@media (--large-up) {
  .DropdownMenuTether {
    min-width: 20vw;
  }
}
